package com.zh.work.entity.trans;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zh.common.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("快捷实时交易实体类")
@TableName("quick_trans_today")
@Data
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QuickTransTodayEntity extends BaseEntity {

  private static final long serialVersionUID = -8631822696909849643L;

  @ApiModelProperty(value = "主键", name = "id ")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "交易日期", name = "transDate")
  private String transDate;
  @ApiModelProperty(value = "交易时间", name = "transTime")
  private String transTime;
  @ApiModelProperty(value = "机构编码", name = "branchno")
  @TableField(value = "branchno")
  private String branchNo;
  @ApiModelProperty(value = "机构名称", name = "branchName")
  private String branchName;
  @ApiModelProperty(value = "代理商号", name = "agentno")
  @TableField(value = "agentno")
  private String agentNo;
  @ApiModelProperty(value = "代理商名称", name = "agentName")
  private String agentName;
  @ApiModelProperty(value = "商户编号", name = "merchNo")
  @TableField(value = "merchno")
  private String merchNo;
  @ApiModelProperty(value = "商户名称", name = "merchName")
  private String merchName;
  @ApiModelProperty(value = "商户流水号", name = "traceNo")
  @TableField(value = "traceno")
  private String traceNo;
  @ApiModelProperty(value = "系统订单号", name = "orderNo")
  @TableField(value = "orderno")
  private String orderNo;
  @ApiModelProperty(value = "交易金额", name = "amount")
  private Float amount;
  @ApiModelProperty(value = "交易卡号", name = "cardNo")
  @TableField(value = "cardno")
  private String cardNo;
  @ApiModelProperty(value = "结算类型(1-T+0 2-T+1)", name = "settleType")
  private Integer settleType;
  @ApiModelProperty(value = "通知地址", name = "notifyUrl")
  private String notifyUrl;
  @ApiModelProperty(value = "0-处理中 1-下单成功 2-交易成功 3-交易失败", name = "status")
  private Integer status;
  @ApiModelProperty(value = "交易说明", name = "statusDesc")
  private String statusDesc;
  @ApiModelProperty(value = "渠道编码", name = "channelCode")
  private String channelCode;
  @ApiModelProperty(value = "渠道商户号", name = "channelMerchNo")
  @TableField(value = "channelMerchno")
  private String channelMerchNo;
  @ApiModelProperty(value = "渠道订单号", name = "channelOrderNo")
  @TableField(value = "channelOrderno")
  private String channelOrderNo;
  @ApiModelProperty(value = "渠道手续费", name = "channelFee")
  private Float channelFee;
  @ApiModelProperty(value = "代理商手续费", name = "agentFee")
  private Float agentFee;
  @ApiModelProperty(value = "商户手续费", name = "merchFee")
  private Float merchFee;
  @ApiModelProperty(value = "机构费率", name = "branchFee")
  private Float branchFee;
  @ApiModelProperty(value = "身份证号", name = "certNo")
  @TableField(value = "certno")
  private String certNo;
  @ApiModelProperty(value = "手机号码", name = "mobile")
  private String mobile;
  @ApiModelProperty(value = "结算卡号", name = "accountNo")
  @TableField(value = "accountno")
  private String accountNo;
  @ApiModelProperty(value = "结算户名", name = "accountName")
  private String accountName;
  @ApiModelProperty(value = "联行号", name = "bankNo")
  @TableField(value = "bankno")
  private String bankNo;
  @ApiModelProperty(value = "银行类别银行类别", name = "bankType")
  private String bankType;
  @ApiModelProperty(value = "支行名称", name = "bankName")
  private String bankName;
  @ApiModelProperty(value = "通知状态 1-无需通知 2-通知成功  3-通知失败", name = "notifyStatus")
  private Integer notifyStatus;
  @ApiModelProperty(value = "充值状态 1-无需充值 2-充值成功 3-充值失败", name = "rechargeStatus")
  private Integer rechargeStatus;
  @ApiModelProperty(value = "代付状态 1-无需代付 2-代付成功 3-代付失败", name = "paymentStatus")
  private Integer paymentStatus;
  @ApiModelProperty(value = "开始金额", name = "amtBegin")
  @TableField(exist = false)
  private Float amtBegin;
  @ApiModelProperty(value = "结束金额", name = "amtEnd")
  @TableField(exist = false)
  private Float amtEnd;
  @ApiModelProperty(value = "商户订单号", name = "merchOrderNo")
  @TableField(value = "merch_orderno")
  private String merchOrderNo;
  @ApiModelProperty(value = "系统订单号", name = "systemOrderNo")
  @TableField(value = "system_orderno")
  private String systemOrderNo;

}
